import { type Express } from "express";
import userRoute from "./user-route";
import accountRoute from "./account-route";

export default function (app: Express) {
    // 配置路由 创建一个应用挂载 接口
    app.use("/user", userRoute);
    // 账号信息 登录 注册
    app.use("/account", accountRoute);
}
